<?php
/**
 * Created by PhpStorm.
 * User: kun
 * Date: 23/6/19
 * Time: 18:23
 */

namespace app\common\validate;

use think\Validate;

class AdminUser extends Validate
{
    protected $rule = [
        'username|用户名称' => 'require|max:20',
        'password|用户密码' => 'require|max:20'
    ];
}